home *** CD-ROM | disk | FTP | other *** search
- defineps colourTriangle(float x1, y1, x2, y2, x3, y3, r, g, b)
- r g b setrgbcolor
- % 1 0 0 setrgbcolor
- % .666 setgray
- x1 y1 moveto
- x2 y2 lineto
- x3 y3 lineto
- x1 y1 lineto
- fill
- 1 setgray
- x1 y1 moveto
- x2 y2 lineto
- x3 y3 lineto
- x1 y1 lineto
- stroke
- endps
-
- defineps outlineTriangle(float x1, y1, x2, y2, x3, y3)
- 1 setgray
- x1 y1 moveto
- x2 y2 lineto
- x3 y3 lineto
- x1 y1 lineto
- stroke
- endps
-
- defineps colourSquare(float x1, y1, x2, y2, x3, y3, x4, y4, r, g, b)
- r g b setrgbcolor
- % 1 0 0 setrgbcolor
- % .666 setgray
- x1 y1 moveto
- x2 y2 lineto
- x3 y3 lineto
- x4 y4 lineto
- x1 y1 lineto
- fill
- 1 setgray
- x1 y1 moveto
- x2 y2 lineto
- x3 y3 lineto
- x4 y4 lineto
- x1 y1 lineto
- stroke
- endps
-
- defineps outlineSquare(float x1, y1, x2, y2, x3, y3, x4, y4)
- 1 setgray
- x1 y1 moveto
- x2 y2 lineto
- x3 y3 lineto
- x4 y4 lineto
- x1 y1 lineto
- stroke
- endps
-
- defineps colourPentagon(float x1, y1, x2, y2, x3, y3, x4, y4, x5, y5, r, g, b)
- r g b setrgbcolor
- % 1 0 0 setrgbcolor
- % .666 setgray
- x1 y1 moveto
- x2 y2 lineto
- x3 y3 lineto
- x4 y4 lineto
- x5 y5 lineto
- x1 y1 lineto
- fill
- 1 setgray
- x1 y1 moveto
- x2 y2 lineto
- x3 y3 lineto
- x4 y4 lineto
- x5 y5 lineto
- x1 y1 lineto
- stroke
- endps
-
- defineps outlinePentagon(float x1, y1, x2, y2, x3, y3, x4, y4, x5, y5)
- 1 setgray
- x1 y1 moveto
- x2 y2 lineto
- x3 y3 lineto
- x4 y4 lineto
- x5 y5 lineto
- x1 y1 lineto
- stroke
- endps
-